<?php
	$date = new DateTime();
	//$ti = $date->getTimestamp();
	$ti = $date->format('Y-m-d H:i:s');
	if(!isset($_SESSION["count"]))
	$_SESSION["count"] = 1;
	$tongtien = 0;
	$tongsluong = 0;
		 if (isset ($_GET["act"]))
		 {
		 switch ($_GET["act"]) {
			case "detail":
				include $div["md_link"].'product/detail.php';
				break;
			case "viewld":
				include $div["md_link"].'product/loader.php';
				break;
			case "viewsp":
				include $div["md_link"].'product/loaisp.php';
				break;
			case "addcart":
				include $div["md_link"].'product/addcart.php';
				break;
			case "seecart":
				include $div["md_link"].'product/seecart.php';
				break;
			case "repair":
				include $div["md_link"].'product/prepair.php';
				break;
			case "remove":
				include $div["md_link"].'product/premove.php';
				break;
			case "excart":
				include $div["md_link"].'product/pex.php';
				break;
			case "addbill":
				include $div["md_link"].'product/pbill.php';
				break;
			case "process":
				include $div["md_link"].'product/pprocess.php';
				break;
			default:
				echo '
				Module này chưa được tạo!
	<meta http-equiv="refresh" content="2; url='.$host["l_link"].'" />
				';
		}
		 }
echo'&nbsp;';
?>